package com.comeon.array;

import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Observable;

public class Test {
	Object o = new Object();
	static int i1=345256;
	static String s1="  ir4 oe 2jo 3io  " ;
	static String s2="oej";
	
	
	public static void main(String[] args) {
		DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
		Date d = new Date(999999999L);
		System.out.println(df.format(d));
		Calendar c =new GregorianCalendar();
		c.setTime(new Date(System.currentTimeMillis()));
		System.out.println(c.getTime());
		c.add(Calendar.YEAR, 50);
		System.out.println(c.getTime());
	}

}
